import request from '@/request/index';

export const login = () => {
  return request.request({
    url: 'login',
    method: 'get'
  });
};

export const getMenu = () => {
  return request.request({
    url: 'menu',
    method: 'get',
    showLoading: false
  });
};
